/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.
 */
package td.domain.util;

/**
 * All of the ways ALL of the Statistics (a superset of them, because enums
 * cannot extend other enums) can be compared.
 * 
 * @author Artem Shamsutdinov
 * 
 */
public enum StatisticalComparison {
	ALPHABETIC, //
	ALPHABETIC_REVERSE, //
	CREATED_DATE, //
	LAST_THOUGHT_READ_DATE, //
	NUMBER_OF_REFERENCES, // How many references are based on member thoughts
	NUMBER_OF_REFERENCED, // How many references are made by memeber thoughts
	NUMBER_OF_TAGGINGS, //
	NUMBER_OF_THOUGHT_READS, //
	NUMBER_OF_TAGS, //
	LAST_TAGGED_DATE, //
	LAST_THOUGHT_ADDED_DATE, //
	NUMBER_OF_THOUGHTS, //
	NUMBER_OF_TOPICS, // Applies to Hierarchies only
	LAST_TOPIC_ADDED_DATE, // Applies to Hierarchies only
	NUMBER_OF_CATEGORIES, // Applies to Tags only

	/**
	 * Statistics that apply to hierarchy based classes only. Specifically these
	 * are statistics directly on a given hierarchy, not including its children.
	 */
	DIRECT_LAST_THOUGHT_ADDED_DATE, //
	DIRECT_LAST_THOUGHT_READ_DATE, //
	DIRECT_NUMBER_OF_REFERENCES, //
	DIRECT_NUMBER_OF_REFERENCED, //
	DIRECT_NUMBER_OF_TAGGINGS, //
	DIRECT_NUMBER_OF_THOUGHT_READS, //
	DIRECT_NUMBER_OF_TAGS, // Applies to Categories only
	DIRECT_LAST_TAGGED_DATE, //
	DIRECT_NUMBER_OF_THOUGHTS, //
	DIRECT_NUMBER_OF_TOPICS, //
	DIRECT_LAST_TOPIC_ADDED_DATE, //
	DIRECT_NUMBER_OF_CATEGORIES; // Applies to Tags only
}
